<?php

namespace AppBundle\Event;


class OrderEvent extends \Symfony\Component\EventDispatcher\Event
{
    const NAME = 'order';

    private $orderId;

    public function __construct($orderId)
    {
        $this->orderId = $orderId;
    }

    public function getOrderId()
    {
        return $this->orderId;
    }
}